<!DOCTYPE html>
<html>
<head>
	<title>peopleMag</title>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="" />
	<script type="application/x-javascript">
		//绑定事件，将页面平滑到指定窗口(初始化加载页面)
		addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); 
		function hideURLbar(){ window.scrollTo(0,1); } 
	</script>
	<link rel="stylesheet" type="text/css" href="../other/css/reset.css">
	<link rel="stylesheet" type="text/css" href="../other/css/fonts.css">
	<link rel="stylesheet" type="text/css" href="../other/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="../other/css/home.css">
	<link rel="stylesheet" type="text/css" href="../other/css/rootuser.css">

</head>
<body>
	<div id="wrapper">
		<nav class="navbar navbar-default navbar-static-top" role="navigation">
			<!-- header部分 -->
		    <div class="navbar-header">
		    	<!-- 适配移动端时的显示 -->
		    	<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#clickbar">
    	            <span class="sr-only">切换导航</span>
    	            <span class="icon-bar"></span>
    	            <span class="icon-bar"></span>
    	            <span class="icon-bar"></span>
    	        </button>
    	        <!-- 标题 -->
		        <a class="navbar-brand" href="roIndex.html">个人税务管理系统</a>
		    </div>
		    <!-- 登录人员信息设置 -->
		    <ul class="nav navbar-nav navbar-right">
		    	<li class="dropdown">
			    	<a href="javascript:;" class="dropdown-toggle fli" data-toggle="dropdown">
			    		<img src="../other/img/2.jpg" alt="humanPhoto">
			    	</a>
			    	<ul class="dropdown-menu">
			    		<li class="ph">
			    			<a href="adminModify.html"><i class="icon-personalMdf icon"></i>修改信息</a>
			    		</li>
			    		<li class="ph">
			    			<a href="javascript:;"><i class="icon-logout icon"></i>退出登录</a>
			    		</li>
			    	</ul>
		    	</li>
		    </ul>
		    <!-- 全局搜索 -->
			<form class="navbar-form navbar-right">
              <input type="text" class="form-control globals" value="Search..." onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Search...';}">
            </form> 
    		<!-- 侧边信息栏 -->
            <div class=" navbar-nav sidebar">
                <div class="collapse navbar-collapse"  id="clickbar">
    				<ul class="nav">
                        <li class="active"><a href="peopleMag.html"><i class="icon-peopleMag icon"></i>人员管理</a></li>
                        <li><a href="companyMag.html"><i class="icon-qiye icon"></i>企业管理</a></li>
                        <li><a href="noticePub.html"><i class="icon-notice icon"></i>公告发布</a></li>     
                    </ul>
    			</div>
            </div>	
		</nav>
		<div id="page-wrapper" class="pa-wrp">
			<div class="grap">
				<div class="add-people">
	                <button class="btn btn-primary" data-toggle="modal" data-target="#addModal">添加人员</button>
	            </div>
				<div class="widget">
		            <table cellpadding="0" cellspacing="0" width="100%" class="sTable" id="res">
		                <thead>
		                    <tr>
		                        <td class="sortCol"><div>姓名</div></td>
		                        <td class="sortCol"><div>性别</div></td>
		                        <td class="sortCol"><div>年龄</div></td>
		                        <td class="sortCol"><div>身份证号</div></td>
		                        <td class="sortCol"><div>电话</div></td>		                        
		                        <td class="sortCol"><div>邮箱</div></td>
		                        <td class="sortCol"><div>住址</div></td>
		                        <td class="sortCol"><div>操作</div></td>
		                    </tr>
		                </thead>
		                <tbody>

		                </tbody>
		            </table>
		        </div>

			</div>
		</div>
		<!-- 模态框（Modal） -->
		<!-- 修改信息 -->
			<div class="modal fade" id="modifyModal" tabindex="-1" role="dialog" aria-labelledby="modifyModalLabel" aria-hidden="true">
			    <div class="modal-dialog">
			        <div class="modal-content">
			            <div class="modal-header">
			                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
			                <h4 class="modal-title" id="modifyModalLabel">人员信息修改</h4>
			            </div>
			            <div class="modal-body">
			            	<form action="" class="form-horizontal" id="mdyform" role="form">
								<div class="form-group" style="display:none;">
									<label for="mdyId" class="col-sm-2 control-label"></label>
									<div class="col-sm-10">
										<input type="text" class="form-control" id="mdyId" name="userid">
									</div>
								</div>
			            	  <div class="form-group">
			            	    <label for="mdyname" class="col-sm-2 control-label">姓名:</label>
			            	    <div class="col-sm-10">
			            	      <input type="text" class="form-control" id="mdyname" name="username" placeholder="请输入姓名">
			            	    </div>
			            	  </div>
			            	  <div class="form-group">
			            	    <label for="mdysex" class="col-sm-2 control-label">性别:</label>
			            	    <div class="col-sm-10">
			            	      <input type="radio" id="mdysexwomen" name="sex" value="0">女
			            	      <input type="radio" id="mdysexman" name="sex" value="1">男
			            	    </div>
			            	  </div>
								<div class="form-group">
									<label for="mdyage" class="col-sm-2 control-label">年龄:</label>
									<div class="col-sm-10">
										<input type="text" class="form-control" id="mdyage" name="username" placeholder="请输入年龄">
									</div>
								</div>
			            	  <div class="form-group">
			            	    <label for="mdyidentify" class="col-sm-2 control-label">身份证号:</label>
			            	    <div class="col-sm-10">
			            	      <input type="text" class="form-control" id="mdyidentify" name="posit" placeholder="请输入身份证号">
			            	    </div>
			            	  </div>
			            	  <div class="form-group">
			            	    <label for="mdyphone" class="col-sm-2 control-label">联系电话:</label>
			            	    <div class="col-sm-10">
			            	      <input type="text" class="form-control" id="mdyphone" name="phone" placeholder="请输入联系电话">
			            	    </div>
			            	  </div>
			            	  <div class="form-group">
			            	    <label for="mdyemail" class="col-sm-2 control-label">邮箱:</label>
			            	    <div class="col-sm-10">
			            	      <input type="text" class="form-control" id="mdyemail" name="email" placeholder="请输入邮箱">
			            	    </div>
			            	  </div>
								<div class="form-group">
									<label for="mdyaddr" class="col-sm-2 control-label">住址:</label>
									<div class="col-sm-10">
										<input type="text" class="form-control" id="mdyaddr" name="addr" placeholder="请输入地址">
									</div>
								</div>
			            	</form>
			            </div>
			            <div class="modal-footer">
			                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
			                <button type="button" id="submitmdy" class="btn btn-primary" onclick="update()">提交更改</button>
			            </div>
			        </div>
			    </div>
			</div>

			<!-- 模态框（Modal） -->
			<!-- 添加信息 -->
			<div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="addModalLabel" aria-hidden="true">
			    <div class="modal-dialog">
			        <div class="modal-content">
			            <div class="modal-header">
			                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
			                <h4 class="modal-title" id="addModalLabel">人员信息添加</h4>
			            </div>
			            <div class="modal-body">
			            	<form action="" class="form-horizontal" id="addform" role="form">
			            	  <div class="form-group">
			            	    <label for="addname" class="col-sm-2 control-label">姓名:</label>
			            	    <div class="col-sm-10">
			            	      <input type="text" class="form-control" id="addname" name="username" placeholder="请输入姓名">
			            	    </div>
			            	  </div>
								<div class="form-group">
									<label for="addsex" class="col-sm-2 control-label">性别:</label>
									<div class="col-sm-10">
										<input type="radio" id="addsexwomen" name="addsex" value="0">女
										<input type="radio" id="addsexman" name="addsex" value="1">男
									</div>
								</div>
			            	  <div class="form-group">
			            	    <label for="addage" class="col-sm-2 control-label">年龄:</label>
			            	    <div class="col-sm-10">
			            	      <input type="text" class="form-control" id="addage" name="age" placeholder="请输入年龄">
			            	    </div>
			            	  </div>
			            	  <div class="form-group">
			            	    <label for="addposition" class="col-sm-2 control-label">身份证号:</label>
			            	    <div class="col-sm-10">
			            	      <input type="text" class="form-control" id="addposition" name="posit" placeholder="请输入身份证号">
			            	    </div>
			            	  </div>
			            	  <div class="form-group">
			            	    <label for="addphone" class="col-sm-2 control-label">联系电话:</label>
			            	    <div class="col-sm-10">
			            	      <input type="text" class="form-control" id="addphone" name="phone" placeholder="请输入联系电话">
			            	    </div>
			            	  </div>
			            	  <div class="form-group">
			            	    <label for="addaddr" class="col-sm-2 control-label">住址:</label>
			            	    <div class="col-sm-10">
			            	      <input type="text" class="form-control" id="addaddr" name="addr" placeholder="请输入地址">
			            	    </div>
			            	  </div>
			            	  <div class="form-group">
			            	    <label for="addemail" class="col-sm-2 control-label">邮箱:</label>
			            	    <div class="col-sm-10">
			            	      <input type="text" class="form-control" id="addemail" name="email" placeholder="请输入邮箱">
			            	    </div>
			            	  </div>
			            	</form>
			            </div>
			            <div class="modal-footer">
			                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
			                <button type="submit" id="submitadd" class="btn btn-primary" >提交更改</button>
			            </div>
			        </div>
			    </div>
			</div>
			
			<!-- 信息删除确认 -->  
			<div class="modal fade" id="delcfmModel">  
			  <div class="modal-dialog">  
			    <div class="modal-content message_align">  
			      <div class="modal-header">  
			        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> 
			        <h4 class="modal-title">人员信息删除</h4>  
			      </div>  
			      <div class="modal-body">  
			        <p>您确认要删除吗？</p>  
			      </div>  
			      <div class="modal-footer">  
			         <input type="hidden" id="url"/>  
			         <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>  
			         <a href="javascript:;"  id="empDel" class="btn btn-success" data-dismiss="modal">确定</a>
			      </div>  
			    </div>
			  </div> 
			</div>

	</div>


	<script src="../other/js/jquery-1.12.0.min.js"></script>
	<script src="../other/js/bootstrap.min.js" ></script>
	<script src="../other/js/delcfm.js"></script>
	<script src="../other/js/edit.js"></script>
	<script src="../other/js/peopleMag.js"></script>
</body>
</html>